﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Data.SqlClient;
using System.Data;

namespace MasterServer {
	class Program {
		static void Main(string[] args) {
			CMSProtocolS Server = new CMSProtocolS();
			Server.StartListener();
			Server.Listen(); 
			/*SqlConnection conn = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Tomek\Documents\sieci\sieci-tcs-1\MasterServer\Logowanie.sdf.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True");
			conn.Open();

			SqlDataAdapter adp = new SqlDataAdapter("Select * from Users", conn);
			DataSet ds = new DataSet("Users");
			adp.Fill(ds);
			var table = ds.Tables[0];*/
		}
	}
}
